package com.hzncc.scaffold.service;

import com.hzncc.scaffold.core.ResultT;
import com.hzncc.scaffold.entity.Other.Trainingprogram;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzncc.scaffold.entity.Vo.CommitTrainingProgramVo;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author DrunkBear
 * @since 2022-04-27
 */
public interface TrainingprogramService extends IService<Trainingprogram> {

    public ResultT saveTrainingprogram(Trainingprogram trainingprogram);

    public ResultT updateTrainingprogram(Trainingprogram trainingprogram);

    public ResultT deleteTrainingprogram(Integer programId);

    public ResultT stayAtTop(Integer programId,Integer stayAtTop);

    public ResultT search(Trainingprogram trainingprogram);

    public ResultT commit(CommitTrainingProgramVo trainingProgramVo);

}
